package com.xdcplus.web.mapper.bd;

import com.xdcplus.mp.mapper.IBaseMapper;
import com.xdcplus.web.common.pojo.entity.bd.BdWetWeightAlarmConfig;
import com.xdcplus.web.common.pojo.query.bd.BdWetWeightAlarmConfigQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 丝印湿重报警推送配置(BdWetWeightAlarmConfig)表数据库访问层
 *
 * @author Zhecheng.Ren
 * @since 2024-10-22 15:10:14
 */
public interface BdWetWeightAlarmConfigMapper extends IBaseMapper<BdWetWeightAlarmConfig> {

    /**
     * 查询丝印湿重报警推送配置(BdWetWeightAlarmConfig)
     *
     * @param bdWetWeightAlarmConfigQuery 丝印湿重报警推送配置(BdWetWeightAlarmConfig)查询
     * @return {@link List<BdWetWeightAlarmConfig>}
     */
    List<BdWetWeightAlarmConfig> queryBdWetWeightAlarmConfig(BdWetWeightAlarmConfigQuery bdWetWeightAlarmConfigQuery);

    BdWetWeightAlarmConfig queryBdWetWeightAlarmConfigByAlarmLevel(@Param("alarmLevel") Integer alarmLevel);

    BdWetWeightAlarmConfig queryBdWetWeightAlarmConfigByAlarmLevelAndIdNot(@Param("alarmLevel") Integer alarmLevel, @Param("id") Long id);

}
